<template>
  <div>
    <postloan-list v-if="+pageStatus === 0"></postloan-list>
    <task-list v-else></task-list>
  </div>
</template>

<script>
import postloanList from '@/bank/views/business/limit/history/postloan/Index'
import TaskList from '@/bank/views/business/limit/history/postloan/LoanEndDate'
export default {
  components: {
    postloanList,
    TaskList,
  },
  data() {
    return {}
  },
  computed: {
    pageStatus() {
      return this.$route.query.status || ''
    },
  },
  created() {},
  methods: {},
}
</script>
<style lang="scss" scoped></style>
